﻿@using MVCDemo.Controllers
@model IEnumerable<Student>

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>List</title>
</head>
<body>
    <div> 
        <ul>@foreach(Student student in ViewBag.List)
            {
            <li>@student.Name</li>
            }</ul>
    </div>
</body>
</html>
